@extends('layouts.app')
@section('title','订单详情页')
@section('content')

<!-- start: Content -->
<div class="row-fluid">
	<div class="box span12">
		<div class="box-header">
			<h2><i class="icon-edit"></i>已预约订单</h2>
		</div>

		<div class="box-content">
			<div class="box-header">
				<h2>用户信息</h2>
			</div>
			<div class="box-content">
				<div class="step-content">
					<div class="step-pane active" id="step1">
						<form class="form-horizontal" />
							<fieldset>	
								<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:120px;'>
										用户昵称<span class="help-inline">{{ $order->name }}</span>
									</label>
									<label class="control-label" for="inputWarning" style='width:200px;'>
									手机号<span class="help-inline">{{ $order->mobile }}</span>
									</label>
						  		</div>
							</fieldset>
						</form>
					</div>
				</div>
			</div>
		</div>

		<div class="box-content">
			<div class="box-header">
				<h2>订单信息</h2>
			</div>
			<div class="box-content">
				<div class="step-content">
					<div class="step-pane active" id="step1">
						<form class="form-horizontal" />
							<fieldset>	
								<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:200px;'>
										订单号 <span class="help-inline">{{ $order->order_number }}</span>
									</label>
									<label class="control-label" for="inputWarning" style='width:350px;'>
										下单时间<span class="help-inline">{{ $order->created_at }}</span>
									</label>
						  		</div>
						  		<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:200px;'>
										服务项目 <span class="help-inline">{{ $order->title }}</span>
									</label>
								</div>
								<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:75px;'>
										服务照片
									</label>
								</div>
								<div class="control-group warning">	
									<label class="control-label" for="inputWarning" style='width:350px;'>
										 <img src="{{ $order->path }}" style='margin-left: 20px;' alt="">
									</label>
						  		</div>
						  		<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:105px;'>
										单价(元) <span class="help-inline">{{ $order->price }}</span>
									</label>
									<label class="control-label" for="inputWarning" style='width:350px;'>
										会员价(元) <span class="help-inline">{{ $order->vip_price }}</span>
									</label>
						  		</div>
						  		<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:70px;'>
										数量 <span class="help-inline">{{ $order->num }}</span>
									</label>
						  		</div>
						  		<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:206px;'>
										状态 <span class="help-inline">
												@if($order->serve_status == 0)
													{{ $order->order_status }}
												@elseif($order->serve_status == 1)
													交易成功
													@if($order->u_score == null)
														<span style='color:red;'> 等待用户评价</span>
													@endif
												@endif
											</span>
									</label>
						  		</div>
						  		<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:105px;'>
										享受折扣 <span class="help-inline">无</span>
									</label>
						  		</div>
						  		<div class="control-group warning">
									<label class="control-label" for="inputWarning" style='width:187px;'>
										实付款（元） <span class="help-inline" style='font-size: 26px;'>{{ $order->money }}</span>
									</label>
						  		</div>
							</fieldset>
						</form>
					</div>
				</div>
			</div>
		</div>

	</div><!--/span-->
</div><!--/row-->

@stop
